/////////////////////////////////////////////////////////////////////////////
// Name:        prefs.h
// Purpose:     
// Author:      Stephen Whittle
// Modified by: 
// Created:     09/06/2009 10:23:05
// RCS-ID:      
// Copyright:   
// Licence:     
/////////////////////////////////////////////////////////////////////////////

#ifndef _PREFS_H_
#define _PREFS_H_


/*!
 * Includes
 */

////@begin includes
#include "wx/clrpicker.h"
////@end includes

/*!
 * Forward declarations
 */

////@begin forward declarations
////@end forward declarations

/*!
 * Control identifiers
 */

////@begin control identifiers
#define ID_PREFERENCES 10034
#define ID_CHECKBOX1 10036
#define ID_BUTTON9 10037
#define ID_COLOURPICKERCTRL15 10035
#define ID_COLOURPICKERCTRL 10000
#define ID_CHECKBOX2 10038
#define ID_CHECKBOX3 10039
#define ID_CHECKBOX4 10040
#define ID_TEXTCTRL11 10041
#define ID_TEXTCTRL12 10042
#define ID_RADIOBUTTON1 10043
#define ID_CHECKBOX5 10044
#define ID_RADIOBUTTON 10045
#define SYMBOL_PREFERENCES_STYLE wxCAPTION|wxSYSTEM_MENU|wxCLOSE_BOX|wxTAB_TRAVERSAL
#define SYMBOL_PREFERENCES_TITLE _("Preferences")
#define SYMBOL_PREFERENCES_IDNAME ID_PREFERENCES
#define SYMBOL_PREFERENCES_SIZE wxDefaultSize
#define SYMBOL_PREFERENCES_POSITION wxDefaultPosition
////@end control identifiers
 

/*!
 * Preferences class declaration
 */

class Preferences: public wxDialog
{    
    DECLARE_DYNAMIC_CLASS( Preferences )
    DECLARE_EVENT_TABLE()

public:
    /// Constructors
    Preferences();
    Preferences( wxWindow* parent, wxWindowID id = SYMBOL_PREFERENCES_IDNAME, const wxString& caption = SYMBOL_PREFERENCES_TITLE, const wxPoint& pos = SYMBOL_PREFERENCES_POSITION, const wxSize& size = SYMBOL_PREFERENCES_SIZE, long style = SYMBOL_PREFERENCES_STYLE );

    /// Creation
    bool Create( wxWindow* parent, wxWindowID id = SYMBOL_PREFERENCES_IDNAME, const wxString& caption = SYMBOL_PREFERENCES_TITLE, const wxPoint& pos = SYMBOL_PREFERENCES_POSITION, const wxSize& size = SYMBOL_PREFERENCES_SIZE, long style = SYMBOL_PREFERENCES_STYLE );

    /// Destructor
    ~Preferences();

    /// Initialises member variables
    void Init();

    /// Creates the controls and sizers
    void CreateControls();

////@begin Preferences event handler declarations

////@end Preferences event handler declarations

////@begin Preferences member function declarations

    /// Retrieves bitmap resources
    wxBitmap GetBitmapResource( const wxString& name );

    /// Retrieves icon resources
    wxIcon GetIconResource( const wxString& name );
////@end Preferences member function declarations

    /// Should we show tooltips?
    static bool ShowToolTips();

////@begin Preferences member variables
////@end Preferences member variables
};

#endif
    // _PREFS_H_
